package com.example.hlhjdraw

import android.content.Intent
import android.os.Bundle
import android.webkit.JavascriptInterface
import android.widget.Toast
import com.tenma.ventures.base.TMWebActivity
import org.greenrobot.eventbus.EventBus

class DrawWebAty :TMWebActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

    }
    @JavascriptInterface
    fun goLogin(){
        val action = this.packageName + ".usercenter.login"
        val intent = Intent(action)
        this.startActivity(intent)
        finish()
    }

}